@media screen and (max-width: 1026px) { 
.container {
width:auto;
margin: 0 0;
padding:0 20px;
}

#header h1{ max-width:200px;}

#header h1 img{ width:100%;}

.headad img{ margin:0;}

ul#serinfo-nav>li{padding: 10px 3.6% 9px;}


.flickwrap img,
#footer .flickwrap img{width: 55px;}

.ad300 img,
img.attachment-widgetcol,
img.attachment-coin{ width:100%;}

.widgetcol{ width:46.2%}

.widgetcol_small,
.tabbig{ height:auto;}

.tabbig iframe{ height:360px;}

}

/* Smaller screens */

@media screen and (max-width: 1000px){

.imgwrap img,
.tab img,
img.main-single,
.imgwrap img:hover{ width:100% !important;}

.shadow-inset2,
a.sliderlink{
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
	
}


@media screen and (max-width: 970px){

#clientsbox li{ width:24%;}

li.services{ width:27%}

.resmode-No{ display:none; visibility:hidden;}

.section .container{padding:40px 0 !important;}


#header{
	padding:0;
	float:left;
	margin:0;
}

#header a img.logo{margin:0 0 30px 0;}

.flexfull_wrap{ max-height: 580px !important}

.widgetcol{ width:46.2%}

.disres{ position:relative !important; top:auto; width:100% !important;}

a.trigger{ display:none;}

}

/* Mobile */

@media screen and (max-width: 770px){

.flexslider .slides li a img,
.tabitem iframe, .tabitem a img{ width:100%;}

.tab{width:20%;}

ul#serinfo-nav>li{padding: 10px 2% 9px;}

.tab span.ribbon{ top:auto;}

#navigation > .nav > li { width:auto;}

#navigation > .nav > li a{ padding: 20px 14px;}
.nav .sf-sub-indicator{ right:2px}

.nav>li>a>span.walker{ display:none;}

.tabbig iframe{ height:260px;}


img.alignleft,
img.alignright,
img.aligncenter,
.wp-caption,
.wp-caption img{ width:100%; margin:5px 0 30px 0; padding:0;}

}

@media handheld, only screen and (max-width: 740px) {

body {
font-size: 14px;
-webkit-text-size-adjust: none;
}

body {
width: 100%;
min-width: 0;
margin-left: 0px;
margin-right: 0px;
padding-left: 0;
padding-right: 0;
margin-top:0;
}


#header,#content, #sidebar,#footer .threecol,
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol,.fifthcol,
#footer .fourcol,
.slidercol,.seccol,.widgetcol,
#core,#content,#leftsidebar,#rightsidebar
 {
width: auto;
float: none !important;
margin-left: 0;
margin-right: 0;
}

#sec-navigation{ float:left; width:100%; clear:both;}

img#logo{ float: none; display:block;}

#sidebar{
	padding-left:0;
	padding-right:0;
	margin-top:40px;
}

#core{
	margin:0 0 0 0;
}

#core_bg{ display:none;}

.stuff h1,.stuff h2{ font-size:45px; border:none;}

.flex-control-nav{ bottom:25px;}

#copyright{ padding:0 0;}

#copyright .fr{ float:left !important;}

.pagination{ margin-bottom:40px; height:35px;}

.resmode-No{ display:none; visibility:hidden;}


img.headimg,
img.singleimg,
.wp-caption img,
.postslider img{width:100%;}

.tabbig{ width:100%; height:auto;}

ul#tabsmall{
	position:relative;
	top:auto;
	right:auto;
	width:105%;
}

ul#tabsmall li{
	float:left;
	margin:0 5% 0 0;
	padding:0 0;
	width:45%;
	height:70px;
	border-bottom:none;
}

ul#tabsmall li a{
	overflow:hidden;
	height:30px;
}

.arr,
.tabbig .meta,
#tabsmall li i{ display:none;}

.inpost > h1{ font-size:16px !important;}

#rightsidebar{ padding:20px 3% 0 3%;}

#top-nav{ max-height: none; height:auto;}
}


@media only screen and (max-width: 639px) {

.scrollTo_top{ visibility:hidden; display:none}

.tmnf-sc-quote.left,
.tmnf-sc-quote.right{ width:100%; float:none; margin-left:0; margin-right:0}


.contact-form .forms textarea,
.contact-form .forms input.txt{ width:100%; float:none; margin-left:0; margin-right:0; padding-left:0; padding-right:0}

.contact-form .forms label{ margin-bottom:10px}

.contact-form .forms .buttons .submit,
.contact-form .forms input#sendCopy{ margin-left:0;}



#header a img.logo{ display:block; float:none; margin:0 auto 30px auto;}

a#triggernav,
a#triggernav-sec{ display:block}

#navigation,
#sec-nav{ display:none; margin-bottom:40px;}

#sec-nav{ width:200px}
#sec-nav>li{ width:100%}
#sec-nav>li>ul{ width:100%}

.nav{ width:100%}

.nav li ul{ width:100%; border:none;}

#navigation>.nav>li {
	width:100%;
	float:none;
} 

.nav{ width:100%}

.nav li ul{ width:100%; border:none;}

.nav>li>a{ background:none !important;}

.tab{ width:45.5%;}

iframe{width:100%; max-height:350px}

#top-nav  ul.social-menu{ position:relative; float:left; right: auto; margin: 8px 0 5px 0 !important}

#top-nav  ul.social-menu li{ width:30px !important;}

.aboutus{ width:100%; padding:0 0;}

.widgetflexslider span.ribbon{ display:none;}

.related li{ width:100%; margin-right:0;}

.related li a img{ width:100%;}

.related li span.ribbon{ display:none;}

#header h1{ max-width:100%; width:100%;}

#header h1 img{ width:100%;}

} 

@media only screen and (max-width: 429px) {

iframe{max-height:250px}
.tabitem iframe{max-height:250px}

.imgwrap{ background-image:none !important;}

.tab span.ribbon{ display:none;}

.comment-form-author, .comment-form-email, .comment-form-url{ width:100%;}

#respond textarea{ width:90%;}

.ratingblock{ width:84%}

}
